﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ArticleList.aspx.cs" Inherits="ArticleList" EnableViewState="false" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="control/Phone.ascx" TagName="Phone" TagPrefix="uc1" %>
<%@ Register Src="control/InnerTopDoctor.ascx" TagName="InnerTopDoctor" TagPrefix="uc2" %>
<%@ Register Src="control/InPhone.ascx" TagName="InPhone" TagPrefix="uc3" %>
<%@ Register Src="control/EquipmentImg.ascx" TagName="EquipmentImg" TagPrefix="uc4" %>
<%@ Register Src="control/Case.ascx" TagName="Case" TagPrefix="uc5" %>
<%@ Register Src="control/MainAd.ascx" TagName="MainAd" TagPrefix="uc6" %>
<%@ Register Src="control/TopEquipment.ascx" TagName="TopEquipment" TagPrefix="uc7" %>
<%@ Register Src="control/InnerAd.ascx" TagName="InnerAd" TagPrefix="uc8" %>
<%@ Register Src="control/Subject.ascx" TagName="Subject" TagPrefix="uc9" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="urlpath">
        <p>
            您当前的位置：<a href="/" title="首页">首页</a> &gt;
            <asp:Literal ID="ltlPageUrl" runat="server"></asp:Literal></p>
    </div>
    <div class="inmain">
        <div class="inmain_lr">
            <div class="inmain_l">
                <uc8:InnerAd ID="InnerAd" runat="server" />
                <div class="main_list">
                    <ul>
                        <asp:Repeater ID="rptArticle" runat="server" OnItemDataBound="rptArticle_ItemDataBound">
                            <ItemTemplate>
                                <li>
                                    <div class="title">
                                        <span>[<%#Convert.ToDateTime(Eval("AddTime")).ToString("yyyy-MM-dd")%>]</span><h2>
                                            <a href="<%#Until.GetUrlName(Eval("PSortUrlName"),Eval("SortUrlName"),Eval("ID"))%>"
                                                title="<%#Eval("Name")%>" target="_blank">
                                                <%#Server.HtmlEncode(Eval("Name").ToString())%></a></h2>
                                    </div>
                                    <p>
                                        <asp:Literal ID="ltlInfo" runat="server"></asp:Literal><a href="<%#Until.GetUrlName(Eval("PSortUrlName"),Eval("SortUrlName"),Eval("ID"))%>"
                                            title="<%#Eval("Name")%>" target="_blank">[详细]</a></p>
                                    <div class="phone">
                                        <a target="_blank" href="<%=WebConfigInfo.WebChatUrl %>" title="在线咨询"></a>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                        <asp:Repeater ID="rptArticle1" runat="server" OnItemDataBound="rptArticle_ItemDataBound">
                            <ItemTemplate>
                                <li>
                                    <div class="item_left">
                                        <a href="<%#Until.GetUrlName(Eval("PSortUrlName"),Eval("SortUrlName"),Eval("ID"))%>"
                                            target="_blank" title="<%#Eval("Name")%>">
                                            <img src="<%#"/"+WebConfigInfo.FilePlace+"d/"+Eval("ImgPlace")%>" alt="<%#Eval("Name")%>" /></a></div>
                                    <div class="item_right">
                                        <h3>
                                            <a href="<%#Until.GetUrlName(Eval("PSortUrlName"),Eval("SortUrlName"),Eval("ID"))%>"
                                                target="_blank" title="<%#Eval("Name")%>">
                                                <%#Server.HtmlEncode(Eval("Name").ToString())%></a></h3>
                                        <p>
                                            <asp:Literal ID="ltlInfo" runat="server"></asp:Literal><a href="<%#Until.GetUrlName(Eval("PSortUrlName"),Eval("SortUrlName"),Eval("ID"))%>"
                                                title="<%#Eval("Name")%>" target="_blank">[详情内容]</a></p>
                                    </div>
                                    <div class="clear">
                                    </div>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                     <div class="webpage">
                    <webdiyer:AspNetPager ID="anpPage" runat="server" CurrentPageButtonClass="curPage"
                        PageSize="10" EnableUrlRewriting="true" UrlPaging="True">
                    </webdiyer:AspNetPager>
                </div>
                </div>
            </div>
            <div class="inmain_r">
                <uc1:Phone ID="Phone1" runat="server" />
                <div class="right_item right_topic">
                    <uc9:Subject ID="Subject1" runat="server" />
                </div>
               <uc2:InnerTopDoctor ID="InnerTopDoctor" runat="server" />
                <div class="right_item right_case">
                     <uc5:Case ID="Case1" runat="server" />
                </div>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
</asp:Content>
